@extends('layouts.app')
@section('title', '支付测试')


@section('content')
    <div class="md:max-w-lg sm:max-w-full p-6 m-auto mt-12">
        <div class="bg-white rounded-sm w-full shadow-lg p-5">
            <form action="{{ route('pay.test') }}" method="post">
                {{ csrf_field() }}
                <input type="hidden" name="name" value="支付测试">
                <div>
                    <input type="text" name="money" value="0.01" class="w-full py-3 px-2 border rounded-sm">
                </div>
                <div class="mt-4">
                    <select name="type" id="" class="w-full py-3 px-2 border rounded-sm">
                        <option value="">请选择支付方式</option>
                        @foreach (\App\Models\Order::$gatewayMap as $k => $v)
                            <option value="{{ $k }}">{{ $v }}</option>
                        @endforeach
                    </select>
                </div>
                <div class="mt-4">
                    <button class="block w-full py-3 bg-blue-400 rounded-sm text-white font-blod">提交</button>
                </div>
            </form>
        </div>
    </div>
@endsection
